package com.jt.www.admin.market.service;

import com.jt.www.domain.po.InsidePerformance;
import com.jt.www.domain.qo.InsidePerformanceQO;
import com.jt.www.model.reps.GenericListResponse;
import com.jt.www.model.reps.GenericResponse;
import org.springframework.http.ResponseEntity;

/**
 * 内部人员业绩
 * Created by shaoyn on 2020/07/21.
 */
public interface InsidePerformanceService {

    /**
     * 查询列表
     *
     * @param insidePerformanceQO
     * @return
     */
    ResponseEntity<GenericListResponse<InsidePerformance>> queryInsidePerformance(InsidePerformanceQO insidePerformanceQO);

    /**
     * @param policyNo
     * @return
     */
    InsidePerformance queryInsidePerformanceByPolicyNo(String policyNo);

    /**
     * 标记发放状态
     *
     * @param insidePerformanceQO
     * @return
     */
    int updateSendStatus(InsidePerformanceQO insidePerformanceQO, String sendStatus);

    /**
     * 内部人员业绩推荐人重新设置
     *
     * @param ids
     * @return
     */
    ResponseEntity<GenericResponse> updateInsidePerformanceManager(String ids);
}
